package com.bss.converter;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.andy.basics.Converter;
import com.andy.basics.Dao;
import com.bss.dao.MaterialTypeDao;
import com.bss.model.MaterialType;

@Component
public class MaterialTypeConverter extends Converter<MaterialType> {

	@Autowired
	private MaterialTypeDao materialTypeDao;

	public void setMaterialTypeDao(MaterialTypeDao materialTypeDao) {
		this.materialTypeDao = materialTypeDao;
	}

	@Override
	public Dao<MaterialType> getDao() {
		return materialTypeDao;
	}

}
